var t =setTimeout(time,100);
function time()
{
	clearTimeout(t);
	dt = new Date();
	var h=dt.getHours();
	var m=dt.getMinutes();
	var s=dt.getSeconds();
	var y=dt.getFullYear();
	var mo=dt.getMonth();
	var date=dt.getDate();
	var day=dt.getDay();
	var ms=dt.getMilliseconds();
	if(h<10)
	h="0"+h;
	if(m<10)
	m="0"+m;
	if(s<10)
	s="0"+s;
	var txt=y+"年"+mo+"月"+date+"日   "+h+":"+m+":"+s;
	document.getElementById("timeShow").innerHTML =  "现在的时间为："+txt;
	//document.getElementById("timeShow").innerHTML =  "现在的时间为："+h+"时"+m+"分"+s+"秒";
	t = setTimeout(time,500);
}